3.589 \(\int \frac{1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx\)

Optimal. Leaf size=158 \[ -\frac{\sqrt [3]{1-x^3}}{3 x^3}-\frac{\log \left (x^3+1\right )}{6\ 2^{2/3}}-\frac{1}{6} \log \left (1-\sqrt [3]{1-x^3}\right )+\frac{\log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}+\frac{\tan ^{-1}\left (\frac{2 \sqrt [3]{1-x^3}+1}{\sqrt{3}}\right )}{3 \sqrt{3}}-\frac{\tan ^{-1}\left (\frac{2^{2/3} \sqrt [3]{1-x^3}+1}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3}}+\frac{\log (x)}{6} \]

[Out]

-(1 - x^3)^(1/3)/(3*x^3) + ArcTan[(1 + 2*(1 - x^3)^(1/3))/Sqrt[3]]/(3*Sqrt[3]) -
 ArcTan[(1 + 2^(2/3)*(1 - x^3)^(1/3))/Sqrt[3]]/(2^(2/3)*Sqrt[3]) + Log[x]/6 - Lo
g[1 + x^3]/(6*2^(2/3)) - Log[1 - (1 - x^3)^(1/3)]/6 + Log[2^(1/3) - (1 - x^3)^(1
/3)]/(2*2^(2/3))

_______________________________________________________________________________________

Rubi [A]  time = 0.285735, antiderivative size = 158, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 8, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364 \[ -\frac{\sqrt [3]{1-x^3}}{3 x^3}-\frac{\log \left (x^3+1\right )}{6\ 2^{2/3}}-\frac{1}{6} \log \left (1-\sqrt [3]{1-x^3}\right )+\frac{\log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}+\frac{\tan ^{-1}\left (\frac{2 \sqrt [3]{1-x^3}+1}{\sqrt{3}}\right )}{3 \sqrt{3}}-\frac{\tan ^{-1}\left (\frac{2^{2/3} \sqrt [3]{1-x^3}+1}{\sqrt{3}}\right )}{2^{2/3} \sqrt{3}}+\frac{\log (x)}{6} \]

Antiderivative was successfully verified.

[In]  Int[1/(x^4*(1 - x^3)^(2/3)*(1 + x^3)),x]

[Out]

-(1 - x^3)^(1/3)/(3*x^3) + ArcTan[(1 + 2*(1 - x^3)^(1/3))/Sqrt[3]]/(3*Sqrt[3]) -
 ArcTan[(1 + 2^(2/3)*(1 - x^3)^(1/3))/Sqrt[3]]/(2^(2/3)*Sqrt[3]) + Log[x]/6 - Lo
g[1 + x^3]/(6*2^(2/3)) - Log[1 - (1 - x^3)^(1/3)]/6 + Log[2^(1/3) - (1 - x^3)^(1
/3)]/(2*2^(2/3))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 15.7629, size = 134, normalized size = 0.85 \[ \frac{\log{\left (x^{3} \right )}}{18} - \frac{\sqrt [3]{2} \log{\left (x^{3} + 1 \right )}}{12} - \frac{\log{\left (- \sqrt [3]{- x^{3} + 1} + 1 \right )}}{6} + \frac{\sqrt [3]{2} \log{\left (- \sqrt [3]{- x^{3} + 1} + \sqrt [3]{2} \right )}}{4} - \frac{\sqrt [3]{2} \sqrt{3} \operatorname{atan}{\left (\sqrt{3} \left (\frac{2^{\frac{2}{3}} \sqrt [3]{- x^{3} + 1}}{3} + \frac{1}{3}\right ) \right )}}{6} + \frac{\sqrt{3} \operatorname{atan}{\left (\sqrt{3} \left (\frac{2 \sqrt [3]{- x^{3} + 1}}{3} + \frac{1}{3}\right ) \right )}}{9} - \frac{\sqrt [3]{- x^{3} + 1}}{3 x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/x**4/(-x**3+1)**(2/3)/(x**3+1),x)

[Out]

log(x**3)/18 - 2**(1/3)*log(x**3 + 1)/12 - log(-(-x**3 + 1)**(1/3) + 1)/6 + 2**(
1/3)*log(-(-x**3 + 1)**(1/3) + 2**(1/3))/4 - 2**(1/3)*sqrt(3)*atan(sqrt(3)*(2**(
2/3)*(-x**3 + 1)**(1/3)/3 + 1/3))/6 + sqrt(3)*atan(sqrt(3)*(2*(-x**3 + 1)**(1/3)
/3 + 1/3))/9 - (-x**3 + 1)**(1/3)/(3*x**3)

_______________________________________________________________________________________

Mathematica [C]  time = 0.272252, size = 110, normalized size = 0.7 \[ -\frac{11 F_1\left (\frac{8}{3};\frac{2}{3},1;\frac{11}{3};\frac{1}{x^3},-\frac{1}{x^3}\right )}{8 \left (1-x^3\right )^{2/3} \left (x^3+1\right ) \left (11 x^3 F_1\left (\frac{8}{3};\frac{2}{3},1;\frac{11}{3};\frac{1}{x^3},-\frac{1}{x^3}\right )-3 F_1\left (\frac{11}{3};\frac{2}{3},2;\frac{14}{3};\frac{1}{x^3},-\frac{1}{x^3}\right )+2 F_1\left (\frac{11}{3};\frac{5}{3},1;\frac{14}{3};\frac{1}{x^3},-\frac{1}{x^3}\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[1/(x^4*(1 - x^3)^(2/3)*(1 + x^3)),x]

[Out]

(-11*AppellF1[8/3, 2/3, 1, 11/3, x^(-3), -x^(-3)])/(8*(1 - x^3)^(2/3)*(1 + x^3)*
(11*x^3*AppellF1[8/3, 2/3, 1, 11/3, x^(-3), -x^(-3)] - 3*AppellF1[11/3, 2/3, 2,
14/3, x^(-3), -x^(-3)] + 2*AppellF1[11/3, 5/3, 1, 14/3, x^(-3), -x^(-3)]))

_______________________________________________________________________________________

Maple [F]  time = 0.099, size = 0, normalized size = 0. \[ \int{\frac{1}{{x}^{4} \left ({x}^{3}+1 \right ) } \left ( -{x}^{3}+1 \right ) ^{-{\frac{2}{3}}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/x^4/(-x^3+1)^(2/3)/(x^3+1),x)

[Out]

int(1/x^4/(-x^3+1)^(2/3)/(x^3+1),x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left (x^{3} + 1\right )}{\left (-x^{3} + 1\right )}^{\frac{2}{3}} x^{4}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((x^3 + 1)*(-x^3 + 1)^(2/3)*x^4),x, algorithm="maxima")

[Out]

integrate(1/((x^3 + 1)*(-x^3 + 1)^(2/3)*x^4), x)

_______________________________________________________________________________________

Fricas [A]  time = 0.221838, size = 274, normalized size = 1.73 \[ \frac{4^{\frac{2}{3}} \sqrt{3}{\left (4^{\frac{1}{3}} \sqrt{3} x^{3} \log \left ({\left (-x^{3} + 1\right )}^{\frac{2}{3}} +{\left (-x^{3} + 1\right )}^{\frac{1}{3}} + 1\right ) - 2 \cdot 4^{\frac{1}{3}} \sqrt{3} x^{3} \log \left ({\left (-x^{3} + 1\right )}^{\frac{1}{3}} - 1\right ) - 3 \, \sqrt{3} x^{3} \log \left (4^{\frac{2}{3}}{\left (-x^{3} + 1\right )}^{\frac{2}{3}} + 2 \cdot 4^{\frac{1}{3}}{\left (-x^{3} + 1\right )}^{\frac{1}{3}} + 4\right ) + 6 \, \sqrt{3} x^{3} \log \left (4^{\frac{1}{3}}{\left (-x^{3} + 1\right )}^{\frac{1}{3}} - 2\right ) + 6 \cdot 4^{\frac{1}{3}} x^{3} \arctan \left (\frac{2}{3} \, \sqrt{3}{\left (-x^{3} + 1\right )}^{\frac{1}{3}} + \frac{1}{3} \, \sqrt{3}\right ) - 18 \, x^{3} \arctan \left (\frac{1}{3} \cdot 4^{\frac{1}{3}} \sqrt{3}{\left (-x^{3} + 1\right )}^{\frac{1}{3}} + \frac{1}{3} \, \sqrt{3}\right ) - 6 \cdot 4^{\frac{1}{3}} \sqrt{3}{\left (-x^{3} + 1\right )}^{\frac{1}{3}}\right )}}{216 \, x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((x^3 + 1)*(-x^3 + 1)^(2/3)*x^4),x, algorithm="fricas")

[Out]

1/216*4^(2/3)*sqrt(3)*(4^(1/3)*sqrt(3)*x^3*log((-x^3 + 1)^(2/3) + (-x^3 + 1)^(1/
3) + 1) - 2*4^(1/3)*sqrt(3)*x^3*log((-x^3 + 1)^(1/3) - 1) - 3*sqrt(3)*x^3*log(4^
(2/3)*(-x^3 + 1)^(2/3) + 2*4^(1/3)*(-x^3 + 1)^(1/3) + 4) + 6*sqrt(3)*x^3*log(4^(
1/3)*(-x^3 + 1)^(1/3) - 2) + 6*4^(1/3)*x^3*arctan(2/3*sqrt(3)*(-x^3 + 1)^(1/3) +
 1/3*sqrt(3)) - 18*x^3*arctan(1/3*4^(1/3)*sqrt(3)*(-x^3 + 1)^(1/3) + 1/3*sqrt(3)
) - 6*4^(1/3)*sqrt(3)*(-x^3 + 1)^(1/3))/x^3

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{4} \left (- \left (x - 1\right ) \left (x^{2} + x + 1\right )\right )^{\frac{2}{3}} \left (x + 1\right ) \left (x^{2} - x + 1\right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/x**4/(-x**3+1)**(2/3)/(x**3+1),x)

[Out]

Integral(1/(x**4*(-(x - 1)*(x**2 + x + 1))**(2/3)*(x + 1)*(x**2 - x + 1)), x)

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((x^3 + 1)*(-x^3 + 1)^(2/3)*x^4),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError